package com.itheima.service.mongo;

import com.itheima.domain.mongo.Movement;
import com.itheima.vo.PageBeanVo;

import java.util.List;

public interface MovementService {
    //保存动态
    void save(Movement movement);

    //分页查询我的动态
    PageBeanVo findMyMovement(Long userId, Integer pageNum, Integer pageSize);

    //分页查询我的好友动态
    PageBeanVo findFriendMovement(Long userId, Integer pageNum, Integer pageSize);

    //分页查询推荐给我的动态
    PageBeanVo findRecommendMovement(Long userId, Integer pageNum, Integer pageSize);

    //根据动态id查询动态信息
    Movement findMyMovementById(String movementId);

    // //根据userId或者state查询动态
    PageBeanVo findMovementList(Long uid, Integer stateInt, Integer pageNum, Integer pageSize);

    //调整动态状态
    void updateMovementState(String movementId, Integer state);

    //动态评审通过
    void MovementPass(List<String> movementId);

    //动态评审未通过
    void MovementReject(List<String> movementId);
}
